package com.sf.fy.uav.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sf.fy.uav.common.request.operate.SysPromotionRecordsRequest;
import com.sf.fy.uav.common.response.operational.SysPromotionRecordsResponse;
import com.sf.fy.uav.entity.PromotionRecords;

import java.util.List;

/**
 * <p>
 * 推广记录表 服务类
 * </p>
 *
 * @author LTQ
 * @since 2023-08-18
 */
public interface IPromotionRecordsService extends IService<PromotionRecords> {
    /**
     * 查询总条数
     *
     * @param payerPhoneNumber
     * @param promotionPhoneNumber
     * @param tcWaybillNo
     * @param activityId
     * @return
     */
    Long getTotal(String payerPhoneNumber, String promotionPhoneNumber,
                  String tcWaybillNo, String activityId);

    /**
     * 查询banners
     *
     * @param sysPromotionRecordsRequest
     * @return
     */
    List<SysPromotionRecordsResponse> getPromotionRecords(SysPromotionRecordsRequest sysPromotionRecordsRequest);
}
